/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package CarProject.util;

import CarProject.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see CarProject.CarProjectPackage
 * @generated
 */
public class CarProjectAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static CarProjectPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public CarProjectAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = CarProjectPackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected CarProjectSwitch modelSwitch =
		new CarProjectSwitch() {
			public Object caseVueGenerale(VueGenerale object) {
				return createVueGeneraleAdapter();
			}
			public Object caseVueMenu(VueMenu object) {
				return createVueMenuAdapter();
			}
			public Object caseVueFormulaire(VueFormulaire object) {
				return createVueFormulaireAdapter();
			}
			public Object caseAction(Action object) {
				return createActionAdapter();
			}
			public Object caseAjouter(Ajouter object) {
				return createAjouterAdapter();
			}
			public Object caseSupprimer(Supprimer object) {
				return createSupprimerAdapter();
			}
			public Object caseModifier(Modifier object) {
				return createModifierAdapter();
			}
			public Object caseLister(Lister object) {
				return createListerAdapter();
			}
			public Object caseChamps(Champs object) {
				return createChampsAdapter();
			}
			public Object caseTable(Table object) {
				return createTableAdapter();
			}
			public Object caseBaseDonnees(BaseDonnees object) {
				return createBaseDonneesAdapter();
			}
			public Object caseSiteWeb(SiteWeb object) {
				return createSiteWebAdapter();
			}
			public Object casecle(cle object) {
				return createcleAdapter();
			}
			public Object casePrimaire(Primaire object) {
				return createPrimaireAdapter();
			}
			public Object caseVueParDefaut(VueParDefaut object) {
				return createVueParDefautAdapter();
			}
			public Object defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	public Adapter createAdapter(Notifier target) {
		return (Adapter)modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link CarProject.VueGenerale <em>Vue Generale</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.VueGenerale
	 * @generated
	 */
	public Adapter createVueGeneraleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.VueMenu <em>Vue Menu</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.VueMenu
	 * @generated
	 */
	public Adapter createVueMenuAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.VueFormulaire <em>Vue Formulaire</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.VueFormulaire
	 * @generated
	 */
	public Adapter createVueFormulaireAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Action <em>Action</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Action
	 * @generated
	 */
	public Adapter createActionAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Ajouter <em>Ajouter</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Ajouter
	 * @generated
	 */
	public Adapter createAjouterAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Supprimer <em>Supprimer</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Supprimer
	 * @generated
	 */
	public Adapter createSupprimerAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Modifier <em>Modifier</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Modifier
	 * @generated
	 */
	public Adapter createModifierAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Lister <em>Lister</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Lister
	 * @generated
	 */
	public Adapter createListerAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Champs <em>Champs</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Champs
	 * @generated
	 */
	public Adapter createChampsAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Table <em>Table</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Table
	 * @generated
	 */
	public Adapter createTableAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.BaseDonnees <em>Base Donnees</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.BaseDonnees
	 * @generated
	 */
	public Adapter createBaseDonneesAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.SiteWeb <em>Site Web</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.SiteWeb
	 * @generated
	 */
	public Adapter createSiteWebAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.cle <em>cle</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.cle
	 * @generated
	 */
	public Adapter createcleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.Primaire <em>Primaire</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.Primaire
	 * @generated
	 */
	public Adapter createPrimaireAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link CarProject.VueParDefaut <em>Vue Par Defaut</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see CarProject.VueParDefaut
	 * @generated
	 */
	public Adapter createVueParDefautAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //CarProjectAdapterFactory
